package com.itheima.demo5;

public class A {
    public static void main(String[] args) {
        long l = System.currentTimeMillis();
        for (int i = 0; i < 100000; i++) {
            System.out.println(i);
        }
        long n = System.currentTimeMillis();
        System.out.println(n-l);
    }
}
